package util.AST.Statement;

import java.util.ArrayList;

import checker.SemanticException;
import checker.Visitor;

import util.AST.Terminal.ID;

public class FunctionCallStatement extends Statement {

	 private ID name;
     private ArrayList<ID> variables;
	
	public FunctionCallStatement(ID name, ArrayList<ID> variables) {
		this.name = name;
		this.variables = variables;
	}
	public FunctionCallStatement(ID name) {
		this.name = name;
	}

	public ID getName() {
		return name;
	}

	public ArrayList<ID> getVariables() {
		return variables;
	}

	@Override
	public String toString(int level) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public Object visit(Visitor v, Object o) throws SemanticException {
		// TODO Auto-generated method stub
		return v.visitFunctionCallStatement(this, o);
	}

}
